home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / office deutch / INFOPATH.NL-NL / INFLR.CAB / EXPRPTI.XSN_1043 / schema.xsd < prev    next >
Extensible Markup Language  |  2006-11-12  |  7KB  |  138 lines

  1. <?xml version="1.0" encoding="UTF-8"?><!-- _lcid="1033" _version="12.0.4518.1000" --><!-- _LocalBinding --><xs:schema targetNamespace="http://schemas.microsoft.com/office/infopath/2003/sample/ExpenseReport" xmlns:exp="http://schemas.microsoft.com/office/infopath/2003/sample/ExpenseReport" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  2.     <xs:element name="expenseReport">
  3.         <xs:complexType>
  4.             <xs:sequence>
  5.                 <xs:element name="employee" type="exp:contactType"/>
  6.                 <xs:element name="manager" type="exp:contactType"/>
  7.                 <xs:element name="expenseCode" type="xs:string"/>
  8.                 <xs:element name="startDate" type="xs:date" nillable="true"/>
  9.                 <xs:element name="endDate" type="xs:date" nillable="true"/>
  10.                 <xs:element name="reportDate" type="xs:date" nillable="true"/>
  11.                 <xs:element name="purpose" type="xs:string"/>
  12.                 <xs:element name="notes" type="exp:xhtml" minOccurs="0"/>
  13.                 <xs:element name="currency" type="exp:currencyType"/>
  14.                 <xs:element name="items">
  15.                     <xs:complexType>
  16.                         <xs:sequence>
  17.                             <xs:element name="item" maxOccurs="unbounded">
  18.                                 <xs:complexType>
  19.                                     <xs:sequence>
  20.                                         <xs:element name="date" type="xs:date" nillable="true"/>
  21.                                         <xs:element name="description" type="xs:string"/>
  22.                                         <xs:element name="amount" type="xs:double"/>
  23.                                         <xs:element name="category" type="xs:string"/>
  24.                                         <xs:element name="currency" type="xs:string"/>
  25.                                         <xs:element name="rate" type="xs:double"/>
  26.                                         <xs:element name="totalAmount" type="xs:double"/>
  27.                                         <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  28.                                     </xs:sequence>
  29.                                 </xs:complexType>
  30.                             </xs:element>
  31.                         </xs:sequence>
  32.                     </xs:complexType>
  33.                 </xs:element>
  34.                 <xs:element name="cashAdvance" type="xs:double"/>
  35.                 <xs:element name="total" type="xs:double"/>
  36.                 <xs:element name="subTotal" type="xs:double"/>
  37.                 <xs:element name="signatures" type="exp:digitalSignaturesType"/>
  38.                 <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  39.             </xs:sequence>
  40.             <xs:anyAttribute namespace="http://www.w3.org/XML/1998/namespace" processContents="lax"/>
  41.         </xs:complexType>
  42.     </xs:element>
  43.     <xs:complexType name="addressType">
  44.         <xs:sequence>
  45.             <xs:element name="line1" type="xs:string"/>
  46.             <xs:element name="line2" type="xs:string"/>
  47.             <xs:element name="line3" type="xs:string"/>
  48.             <xs:element name="line4" type="xs:string"/>
  49.             <xs:element name="city" type="xs:string"/>
  50.             <xs:element name="stateProvince" type="xs:string"/>
  51.             <xs:element name="postalCode" type="xs:string"/>
  52.             <xs:element name="country" type="xs:string"/>
  53.             <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  54.         </xs:sequence>
  55.     </xs:complexType>
  56.     <xs:complexType name="companyType">
  57.         <xs:sequence>
  58.             <xs:element name="name" type="xs:string" minOccurs="0"/>
  59.             <xs:element name="address" type="exp:addressType" minOccurs="0"/>
  60.             <xs:element name="identificationNumber" type="xs:string" minOccurs="0"/>
  61.             <xs:element name="telephoneNumber" type="xs:string" minOccurs="0"/>
  62.             <xs:element name="faxNumber" type="xs:string" minOccurs="0"/>
  63.             <xs:element name="emailAddressPrimary" type="xs:string" minOccurs="0"/>
  64.             <xs:element name="webSite" type="xs:anyURI" minOccurs="0"/>
  65.             <xs:element name="ftpSite" type="xs:anyURI" minOccurs="0"/>
  66.             <xs:element name="telex" type="xs:string" minOccurs="0"/>
  67.             <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  68.         </xs:sequence>
  69.     </xs:complexType>
  70.     <xs:complexType name="companyWithContactType">
  71.         <xs:complexContent>
  72.             <xs:extension base="exp:companyType">
  73.                 <xs:sequence>
  74.                     <xs:element name="contact" type="exp:contactType"/>
  75.                     <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  76.                 </xs:sequence>
  77.             </xs:extension>
  78.         </xs:complexContent>
  79.     </xs:complexType>
  80.     <xs:complexType name="contactType">
  81.         <xs:sequence>
  82.             <xs:element name="name" type="exp:nameType" minOccurs="0"/>
  83.             <xs:element name="address" type="exp:addressType" minOccurs="0"/>
  84.             <xs:element name="identificationNumber" type="xs:string" minOccurs="0"/>
  85.             <xs:element name="emailAddressPrimary" type="xs:string" minOccurs="0"/>
  86.             <xs:element name="emailAddressSecondary" type="xs:string" minOccurs="0"/>
  87.             <xs:element name="telephoneNumberWork" type="xs:string" minOccurs="0"/>
  88.             <xs:element name="telephoneNumberHome" type="xs:string" minOccurs="0"/>
  89.             <xs:element name="telephoneNumberCell" type="xs:string" minOccurs="0"/>
  90.             <xs:element name="telephoneNumberPager" type="xs:string" minOccurs="0"/>
  91.             <xs:element name="faxNumber" type="xs:string" minOccurs="0"/>
  92.             <xs:element name="jobTitle" type="xs:string" minOccurs="0"/>
  93.             <xs:element name="officeLocation" type="xs:string" minOccurs="0"/>
  94.             <xs:element name="department" type="xs:string" minOccurs="0"/>
  95.             <xs:element name="webSite" type="xs:anyURI" minOccurs="0"/>
  96.             <xs:element name="ftpSite" type="xs:anyURI" minOccurs="0"/>
  97.             <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  98.         </xs:sequence>
  99.     </xs:complexType>
  100.     <xs:complexType name="contactWithCompanyType">
  101.         <xs:complexContent>
  102.             <xs:extension base="exp:contactType">
  103.                 <xs:sequence>
  104.                     <xs:element name="company" type="exp:companyType"/>
  105.                     <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  106.                 </xs:sequence>
  107.             </xs:extension>
  108.         </xs:complexContent>
  109.     </xs:complexType>
  110.     <xs:complexType name="digitalSignaturesType">
  111.         <xs:sequence>
  112.             <xs:any namespace="http://www.w3.org/2000/09/xmldsig#" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  113.         </xs:sequence>
  114.     </xs:complexType>
  115.     <xs:complexType name="nameType">
  116.         <xs:sequence>
  117.             <xs:element name="prefix" type="xs:string" minOccurs="0"/>
  118.             <xs:element name="givenName" type="xs:string" minOccurs="0"/>
  119.             <xs:element name="middleName" type="xs:string" minOccurs="0"/>
  120.             <xs:element name="surname" type="xs:string" minOccurs="0"/>
  121.             <xs:element name="suffix" type="xs:string" minOccurs="0"/>
  122.             <xs:element name="singleName" type="xs:string"/>
  123.             <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  124.         </xs:sequence>
  125.     </xs:complexType>
  126.     <xs:complexType name="currencyType">
  127.         <xs:sequence>
  128.             <xs:element name="name" type="xs:string"/>
  129.             <xs:element name="symbol" type="xs:string"/>
  130.             <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  131.         </xs:sequence>
  132.     </xs:complexType>
  133.     <xs:complexType name="xhtml" mixed="true">
  134.         <xs:sequence>
  135.             <xs:any namespace="http://www.w3.org/1999/xhtml" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  136.         </xs:sequence>
  137.     </xs:complexType>
  138. </xs:schema>